package com.jsmile.cloud.msgcenter.api.constants;

/**
 * 权限常量
 *
 * @author 龚亮
 */
public interface MsgConstants extends java.io.Serializable {

    /**
     * 服务名
     */
    String APPLICATION_NAME = "msgcenter";

    public static class SNOWFLAKE {
        public static final long workerId = 1L;
        public static final long datacenterId = 5L;
    }

    public static class SmsMq implements MsgConstants {
        /**
         * 短信发送队列,一对一模式
         */
        public static final String SMS_SEND_QUEUE = "msg_sms_send_queue";
        public static final String SMS_SEND_EXCHANGE = "msg_sms_send_queue";
        public static final String SMS_SEND_ROUTE = "msg_sms_send_queue";

        /**
         * 统一通知接收
         */
        public static final String NOTIFY_EXCHANGE = "msg_notify_exchange";
        public static final String NOTIFY_QUEUE = "msg_notify_queue";
        public static final String NOTIFY_ROUTE = "msg_notify_route";
    }
}
